<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/employee}" method="post">
  <input type="hidden" name="_method" value="put">
  <input type="hidden" name="stuId" th:value="${employee.empId}">
  <hr>
    <label>名字</label>
    <input type="text" name="empName" th:value="${employee.empName}">
    <hr>
    <label>年龄</label>
    <input type="text" name="age"  th:value="${employee.age}">
    <hr>
    <label>性别</label>
    <input type="text" name="gender" th:value="${employee.gender}">
    <hr>
    <label>邮箱</label>
    <input type="text" name="email" th:value="${employee.email}">
    <input type="submit" value="修改" id="dl">
</form>
</body>
</html>